The DataControl that references a table in a database whose fields are displayed using the ListBox. Use the DataField property to link the field to be displayed to the ListBox.
Syntax |
|---|
|
DataSource as DataControl |
Notes
In the IDE, a popup menu of field names will appear. When set in code, it takes a String, e.g., ListBox1.DataSource=DataControl1.Name